Grep related fixes.
authorJuri Linkov <juri@jurta.org>
Mon, 5 Sep 2011 08:20:02 +0000 (11:20 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 5 Sep 2011 08:20:02 +0000 (11:20 +0300)
commit82fec6774dfadaaf2743699db0c95f6c218fa77e
treeef88ec16656c9791ebee6a938437952d0f437c15
parent2a422f353ec80d3499a5e3c260181d603df73cf0
Grep related fixes.

* etc/grep.txt: Add `eval' to the Local Variables section that
emulates `grep-filter'.

* lisp/progmodes/grep.el (grep-filter): Avoid incomplete processing by
keeping point where processing of grep matches begins, and
continue to delete remaining escape sequences from the same point.
(grep-filter): Make leading zero optional in "0?1;31m" because
git-grep emits "\033[1;31m" escape sequences unlike expected
"\033[01;31m" as GNU Grep does.
(grep-process-setup): Replace obsolete "ml=" with newer "sl=".
etc/ChangeLog
etc/grep.txt
lisp/ChangeLog
lisp/progmodes/grep.el